package com.lemon.cloud.comm.po;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class SysRole implements Serializable {
    private Long id;
    private String name;
    private String code;
    private String description;
    private Integer isSys;
    private String delFlag;
    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    private Long userId;
    /**
     * 数据权限
     */
    private List<RoleApplication> dataList;

    /**
     * 功能权限
     */
    private List<SysMenu> permissionList;
}
